<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{$goods["goods_name"]} - 深圳市零刻云科技有限公司</title>
    <meta name="keywords" content="{$goods["goods_name"]} - 深圳市零刻云科技有限公司" />
    <meta name="description" content="{$goods["goods_name"]} - 深圳市零刻云科技有限公司" />
    <!-- 引入样式 -->
    <!-- import CSS -->
    <link rel="stylesheet" href="/Web/element.css">
    <link rel="stylesheet" href="/Web/common.css">
    <style>
        *{margin: 0;padding: 0;}
        .el-image__inner{
            vertical-align:middle
        }
    </style>
</head>
<body>
    <div id="app">
        <!-- 导航栏 -->
        <include file="Public/header" />
        <el-row :gutter="24" style="margin: 0;margin-top: 20px;margin-bottom: 50px;">
            <el-col class="mainBg" :span="15" style="float: initial;margin: auto;"><div class="grid-content bg-purple">
               <!-- <el-image lazy class="block" v-for="i in images" fit="contain" :src="i"></el-image>-->
                <div v-html="body"></div>
            </div></el-col>
        </el-row>
        <my-footer></my-footer>


    </div>
    <script src="/Web//localLang.js"></script>
    <script src="/Web/js/vue.js"></script>
    <!-- import JavaScript -->
    <script src="/Web/js/element-ui.js"></script>
    <script src="/Web/drawer.js"></script>
    <script src="/Web/header.js"></script>
    <script src="/Web/footer.js"></script>
    <script>
        new Vue({
            el: '#app',
            data: {
                draggable: true,
                resizable: false,
                index: 0,
                visible:false,
                loading:false,
                images:['./img/test.jpg'],
                pageId:{$_GET['gc_id']},
                hoverItem:0,
                lang:Number(localStorage.getItem('langType')),
                body:'{$goods["goods_body"]}',
                proList:{:json_encode($menuGoods)},
            },
            computed:{
                list(){
                    return [
                        {id:0,drop:false,text:LANG[this.lang].home,href:'/'},
                        <volist name="menuGoods" id="vo" key="k">
                            {id:{$vo['gc_id']},drop:true, text:'{$vo['gc_name']}',href:"{:U('detail',['gc_id'=>$vo['gc_id']])}"},
                        </volist>
                        {id:3,drop:false,text:LANG[this.lang].quality,href:"{:U('qualification')}"},
                        {id:4,drop:false,text:LANG[this.lang].about,href:"{:U('about')}"},
                        {id:5,drop:false,text:LANG[this.lang].support,href:"{:U('support')}"},
                    ]},
            },
            mounted(){
            },
            methods: {
                loadFun(){
                    console.log(111111111)
                    this.loading = false
                },
                changePage(item){
                    // $emit('changePage',id)
                    if(item.id===1)return
                    if(item.drop===true)return
                    window.location.href=item.href
                },
                changeLanguage(){
                    this.lang = Number(!Number(localStorage.getItem('langType')));
                    // this.$parent.parentChangeLang(this.lang?'zh-CN':'en')
                    localStorage.setItem('langType',this.lang)
                    document.cookie = "langType="+this.lang;
                    window.location.reload()
                }
            }   
        });
      </script>
</body>
</html>